package com.ktwlsoft.archivemanage.payload.department;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * 部门管理新增
 *
 * @author zhuhe on 2019/10/28 9:40
 * @version 1.0
 */
@ApiModel("部门管理新增")
@Getter
@Setter
public class DepartmentManageSaveRequest {

    /**部门名称**/
    @ApiModelProperty("部门名称")
    @Size(max = 30, message = "部门名称参数超长")
    @NotNull(message = "部门名称不能为空")
    private String department;
}